package com.Dao;

import com.bean.Student;
import com.util.ConJdbc;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

/**
 * @author gaomj
 * @data 2022/12/15 23:04
 */
public class CountDao {


    public void show (Student student){
        Connection connection =null;
        PreparedStatement preparedStatement =null;

        //连接mysql
        try{
            connection = ConJdbc.getCon();
            String sql ="select * from echarts where sex='1' ";
            preparedStatement = connection.prepareStatement(sql);
//            preparedStatement.setString();


        }catch(SQLException e){
            e.printStackTrace();
        }
    }

    //加载驱动

    //定义




}
